package org.itboys.seller.entity;

import org.itboys.seller.constant.CaliforniaSiteConstant;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;
import org.mongodb.morphia.annotations.NotSaved;

/**
 * 商家登陆账号
 * @author weisky
 *
 */
@Entity(value = "ChangeScoreRecord", noClassnameStored = true)
public class ChangeScoreRecord extends BaseSellerEntity {
	
	private static final long serialVersionUID = -1468794516259173082L;

    @Indexed
    private long userId;

    private int scoreDelta;

    private long resourceUserId;

    private int type; // 0:修改积分, 1:充值所得

    private String auditName;

    private int auditState; // 0:未审核, 1:已通过, 2:已驳回

    private String reason;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getScoreDelta() {
        return scoreDelta;
    }

    public void setScoreDelta(int scoreDelta) {
        this.scoreDelta = scoreDelta;
    }

    public String getAuditName() {
        return auditName;
    }

    public void setAuditName(String auditName) {
        this.auditName = auditName;
    }

    public int getAuditState() {
        return auditState;
    }

    public void setAuditState(int auditState) {
        this.auditState = auditState;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public long getResourceUserId() {
        return resourceUserId;
    }

    public void setResourceUserId(long resourceUserId) {
        this.resourceUserId = resourceUserId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
